package com.tuocent.dagv2.service;


import com.tuocent.dagv2.common.entity.ValidateCode;

/**
 * <p>
 * ValidateCodeService 接口
 * </p>
 *
 * @author Vincent
 * @since 2024-01-01
 */
public interface IValidateCodeService {

    /**
     * 获取图片验证码
     *
     * @return CommonResult
     */
    ValidateCode get();

    /**
     * 验证验证码
     */
    Boolean check(String key, String code);
}
